package com.gc.server.dao;

import com.gc.server.entity.ImgOrderEntity;
import com.gc.server.entity.ImgOrderItemEntity;
import com.gc.server.vo.ImgOrderVo;
import org.apache.ibatis.annotations.Mapper;
import com.yf.dao.BaseDao;

import java.util.List;

/**
 * 线下报单Dao
 *
 * @author hxf
 * @email 505860922@qq.com
 * @date Thu Mar 12 15:17:51 CST 2020
 */
@Mapper
public interface ImgOrderDao extends BaseDao<ImgOrderEntity> {


        List<ImgOrderVo> queryListVo(ImgOrderVo imgOrderVo);

        ImgOrderVo getVo(Long id);

        List<ImgOrderVo> listByTop(Long userId);

        List<ImgOrderVo> listByUserId(Long userId);

        List<ImgOrderItemEntity> findItems(Long id);

        void deleteItems(Long id);
}
